package com.kfgj.hkp.manager.order;


import com.kfgj.hkp.manager.IManager;
import com.kfgj.hkp.entity.order.OrderEntity;
import com.kfgj.hkp.entity.order.OrderPercentageEntity;

import java.util.List;

/**
 * Created by zjp on 2018/8/15.
 */
public interface IOrderPercentageManager extends IManager<OrderPercentageEntity> {

    /**
     * 更新分成信息
     * @param orderPercentageEntityList
     * @param orderEntity
     */
    void update(List<OrderPercentageEntity> orderPercentageEntityList, OrderEntity orderEntity);

    /**
     * @param orderPercentageEntity
     * @param userCode 订单成交人
     * @return
     */
    public int createServicePe(OrderPercentageEntity orderPercentageEntity, String userCode);
}
